<%@ page language="java"
	import="java.util.*,com.gzl.test.struts.testOGNLaction.Test5"
	contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

	<%
		request.setAttribute("d", new Date(23432432L));
	%>

	<s:form action="test" name="regFrm">
		<s:textfield label="用户名" name="uname"></s:textfield>
		<s:password label="密码" name="pwd"></s:password>
		<s:textfield label="邮箱" name="email"></s:textfield>
		<s:radio list="#{'1':'男','0':'女'}" label="性别" name="gender" value="1"></s:radio>
		<s:select label="所在地" list="{'北京','上海','深圳','柘木'}"></s:select>


		<s:set var="a" value="{'学java','用java','教java','发呆'}" scope="request"></s:set>
		<s:checkboxlist list="#request.a" name="favorite" label="喜欢做的事"></s:checkboxlist>



		<sx:autocompleter label="专业" name="major" href="auto_data.jsp"
			loadOnTextChange="true" loadMinimumCount="0" autoComplete="false"
			showDownArrow="true" />
		<sx:datetimepicker name="birthday" displayFormat="yyyy-MM-dd"
			label="输入出生日期"></sx:datetimepicker>

		<s:submit value="注册"></s:submit>



	</s:form>
	====================================
	<br>
	<!-- <form id="test" name="regFrm" action="test" method="post">
			<table class="wwFormTable">
				<tr>
					<td class="tdLabel">
						<label for="test_uname" class="label">
							用户名:
						</label>
					</td>
					<td>
						<input type="text" name="uname" value="" id="test_uname" />
					</td>
				</tr>
				<tr>
					<td class="tdLabel">
						<label for="test_pwd" class="label">
							密码:
						</label>
					</td>
					<td>
					<input type="password" name="pwd" id="test_pwd" />
					</td>
				</tr>
				<tr>

					<td class="tdLabel">
						<label for="test_email" class="label">
							邮箱:
						</label>
					</td>
					<td>
						<input type="text" name="email" value="" id="test_email" />
					</td>
				</tr>

				<tr>
					<td colspan="2">
						<div align="right">
							<input type="submit" id="test_0" value="&#27880;&#20876;" />
						</div>
					</td>
				</tr>

			</table>
		</form> -->


</body>
</html>